<template>
  <div class="dashboard-container">
		<el-row>
			<el-col :span="6">
				<el-card class="box-card">
          
				</el-card>
			</el-col>

			<el-col :span="8">	
        <div style="background:#fff;margin: 0 10px;border-radius:5px;">
            <el-card class="box-card">
              <pie-charts></pie-charts>
            </el-card>
        </div>
			</el-col>

			<el-col :span="10">
        <div style="background:#fff;margin: 0 10px;border-radius:5px;">
            <el-card class="box-card">
				        <bar-chart></bar-chart>
            </el-card>
        </div>
			</el-col>
		</el-row>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import pieCharts from '../../components/Charts/pie-charts'
import barChart from '../../components/Charts/bar-chart'
export default {
  name: 'dashboard',
  computed: {
    ...mapGetters([
      'name',
      'roles',
      'avatar'
    ])
  },
  components: {
    pieCharts,
    barChart
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard {
  &-container {
    margin: 0px 10px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}

.dashboard-editor-container {
    margin: 30px 0px;
    .btn-group {
        margin-bottom: 60px;
    }
    .box-card-header {
        position: relative;
        height: 160px;
    }
    .panThumb {
        z-index: 100;
        height: 150px;
        width: 150px;
        position: absolute;
        left: 0px;
        right: 0px;
        margin: auto;
    }
    .display_name{
        font-size: 30px;
        display: block;
    }
    .info-item{
        display: inline-block;
        margin-top: 10px;
        font-size: 14px;
        &:last-of-type{
            margin-left: 15px;
        }
    }
}
</style>
